Merge branch 'master' of ssh://xp-dev.com/RRRRHHHH_Code
[RRRRHHHH_Code] / ruralHouses client / src / common / AdminInterface.java
index 5a76296..0f2887e 100644 (file)
@@ -10,27 +10,29 @@ import domain.RuralHouse;
 
 public interface AdminInterface extends Remote {
 
-       
        public Vector<RuralHouse> getAdditionRequests() throws RemoteException;
 
-       public Vector<RuralHouse> getDeletionRequests() throws RemoteException ;
+       public Vector<RuralHouse> getDeletionRequests() throws RemoteException;
 
-       public Vector<Account> getOwnerAdditionRequests() throws RemoteException ;
-       
-       public void removeHouseAdditionRequests(RuralHouse house) throws RemoteException ;
+       public Vector<Account> getOwnerAdditionRequests() throws RemoteException;
 
-       public void removeHouseDeletionRequests(RuralHouse house) throws RemoteException ;
-       
-       public void removeOwnerAdditionRequests(int index) throws RemoteException ;
-       
-       public boolean addAdditionRequest(RuralHouse rh) throws RemoteException ;
+       public Vector<Owner> getAllOwners() throws RemoteException;
+
+       public void removeHouseAdditionRequests(RuralHouse house)
+                       throws RemoteException;
+
+       public void removeHouseDeletionRequests(RuralHouse house)
+                       throws RemoteException;
+
+       public void removeOwnerAdditionRequests(int index) throws RemoteException;
+
+       public boolean addAdditionRequest(RuralHouse rh) throws RemoteException;
+
+       public boolean addDeletionRequest(RuralHouse rh) throws RemoteException;
+
+       public boolean addAccountRequest(String usr, String pss, Owner ow)
+                       throws RemoteException;
 
-       public boolean addDeletionRequest(RuralHouse rh) throws RemoteException ;
-       
-       public boolean addAccountRequest(String usr,
-                       String pss, Owner ow) throws RemoteException;
-       
        public void saveInstance() throws RemoteException;
-       
-       
+
 }